#ifndef AI_H
#define AI_H

#include "player.h"
#include <SFML/System.hpp>

struct PlayerRecord
{
	Player* player;
	unsigned char level;
	double jumpTime;
	int slowHeight;
};

class AI
{
private:
	PlayerRecord players[4];
	unsigned char round;
	unsigned char count;
	bool isGreen;
	sf::Clock timer;
public:
	AI();
	void registerUserControled(Player* player);
	void registerAIControled(Player* player, unsigned char level);
	void setup();
	void update(unsigned char state);	
	~AI();
};

#endif
